package com.jmb.api.service;

import com.jmb.api.model.entity.ApiTestAssert;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.vo.api.ApiTestAssertVo;
import com.jmb.api.vo.api.ApiTestCaseVo;
import jakarta.validation.Valid;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
* @author jinbo
* @description 针对表【api_test_assert】的数据库操作Service
* @createDate 2025-04-08 13:53:56
*/
public interface ApiTestAssertService extends IService<ApiTestAssert> {

    void saveAssert(@Valid ApiTestAssertVo apiTestAssertVo);

    void editAssert(@Valid ApiTestAssertVo apiTestAssertVo);
    List<Integer> selectAllAssertId(Integer caseId);
    void removeAssertById(Integer assertId);
    void removeAssertByCaseId(Integer caseId);
}
